package com.zbkj.crmeb.merchant.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.PageParamRequest;
import com.zbkj.crmeb.export.vo.StoreOrderExcelVo;
import com.zbkj.crmeb.marketing.model.StoreCoupon;
import com.zbkj.crmeb.marketing.request.StoreCouponSearchRequest;
import com.zbkj.crmeb.store.model.StoreOrder;
import com.zbkj.crmeb.store.request.StoreOrderSearchRequest;
import com.zbkj.crmeb.store.response.StoreOrderAgentResponse;
import com.zbkj.crmeb.store.response.StoreOrderInfoResponse;

import java.util.List;

/**
 * 服务商订单管理service
 *
 * @author lvmd
 * @date 2022-02-21
 */
public interface MerAgentStoreOrderService extends IService<StoreOrder> {

    /**
     * 服务商订单列表
     *
     * @param request
     * @param pageParamRequest
     * @return
     */
    StoreOrderAgentResponse listStoreOrders(StoreOrderSearchRequest request, PageParamRequest pageParamRequest);

    /**
     * 优惠券下拉列表
     *
     * @param storeCouponSearchRequest
     * @return
     */
    List<StoreCoupon> listCoupons(StoreCouponSearchRequest storeCouponSearchRequest);

    /**
     * 订单导出
     *
     * @param request
     * @param pageParamRequest
     * @return
     */
    List<StoreOrderExcelVo> getExportList(StoreOrderSearchRequest request, PageParamRequest pageParamRequest);

    StoreOrderInfoResponse info(Integer id);
}
